package com.jeesite.modules.jdProduct.vo;

import java.util.List;

/**
 * @ClassName OnOrderVo
 * @description
 * @Author ouyang
 * @Date 2019/6/13 16:14
 **/
public class OnOrderVo {


    /**
     * pOrder : {"jdOrderId":96381719652,"freight":0,"orderPrice":280,"orderNakedPrice":247.8,"sku":[{"category":751,"num":2,"price":92,"tax":13,"oid":0,"name":"TCL TFS16D 电风扇/空气循环/落地扇/家用静音风扇/五叶大风量风扇定时机械","taxPrice":10.58,"skuId":6649212,"nakedPrice":81.42,"type":0},{"category":689,"num":2,"price":48,"tax":13,"oid":0,"name":"戴尔（DELL）KB216 有线商务办公键盘（黑色）京东自营","taxPrice":5.52,"skuId":3447926,"nakedPrice":42.48,"type":0}],"orderTaxPrice":32.2}
     * orderState : 1
     * cOrder : [{"pOrder":96381719652,"orderState":1,"jdOrderId":96122756734,"state":1,"freight":0,"submitState":1,"orderPrice":96,"orderNakedPrice":84.96,"type":2,"sku":[{"category":689,"num":2,"price":48,"tax":13,"oid":0,"name":"戴尔（DELL）KB216 有线商务办公键盘（黑色）京东自营","taxPrice":5.52,"skuId":3447926,"nakedPrice":42.48,"type":0}],"orderTaxPrice":11.04},{"pOrder":96381719652,"orderState":1,"jdOrderId":96122015251,"state":1,"freight":0,"submitState":1,"orderPrice":184,"orderNakedPrice":162.84,"type":2,"sku":[{"category":751,"num":2,"price":92,"tax":13,"oid":0,"name":"TCL TFS16D 电风扇/空气循环/落地扇/家用静音风扇/五叶大风量风扇定时机械","taxPrice":10.58,"skuId":6649212,"nakedPrice":81.42,"type":0}],"orderTaxPrice":21.16}]
     * submitState : 1
     * type : 1
     */

    private POrderBean pOrder;
    private int orderState;
    private int submitState;
    private int type;
    private List<COrderBean> cOrder;

    public POrderBean getPOrder() {
        return pOrder;
    }

    public void setPOrder(POrderBean pOrder) {
        this.pOrder = pOrder;
    }

    public int getOrderState() {
        return orderState;
    }

    public void setOrderState(int orderState) {
        this.orderState = orderState;
    }

    public int getSubmitState() {
        return submitState;
    }

    public void setSubmitState(int submitState) {
        this.submitState = submitState;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public List<COrderBean> getCOrder() {
        return cOrder;
    }

    public void setCOrder(List<COrderBean> cOrder) {
        this.cOrder = cOrder;
    }

    public static class POrderBean {
        /**
         * jdOrderId : 96381719652
         * freight : 0
         * orderPrice : 280
         * orderNakedPrice : 247.8
         * sku : [{"category":751,"num":2,"price":92,"tax":13,"oid":0,"name":"TCL TFS16D 电风扇/空气循环/落地扇/家用静音风扇/五叶大风量风扇定时机械","taxPrice":10.58,"skuId":6649212,"nakedPrice":81.42,"type":0},{"category":689,"num":2,"price":48,"tax":13,"oid":0,"name":"戴尔（DELL）KB216 有线商务办公键盘（黑色）京东自营","taxPrice":5.52,"skuId":3447926,"nakedPrice":42.48,"type":0}]
         * orderTaxPrice : 32.2
         */

        private long jdOrderId;
        private double freight;
        private double orderPrice;
        private double orderNakedPrice;
        private double orderTaxPrice;
        private List<SkuBean> sku;

        public long getJdOrderId() {
            return jdOrderId;
        }

        public void setJdOrderId(long jdOrderId) {
            this.jdOrderId = jdOrderId;
        }

        public double getFreight() {
            return freight;
        }

        public void setFreight(double freight) {
            this.freight = freight;
        }

        public double getOrderPrice() {
            return orderPrice;
        }

        public void setOrderPrice(double orderPrice) {
            this.orderPrice = orderPrice;
        }

        public double getOrderNakedPrice() {
            return orderNakedPrice;
        }

        public void setOrderNakedPrice(double orderNakedPrice) {
            this.orderNakedPrice = orderNakedPrice;
        }

        public double getOrderTaxPrice() {
            return orderTaxPrice;
        }

        public void setOrderTaxPrice(double orderTaxPrice) {
            this.orderTaxPrice = orderTaxPrice;
        }

        public List<SkuBean> getSku() {
            return sku;
        }

        public void setSku(List<SkuBean> sku) {
            this.sku = sku;
        }

        public static class SkuBean {
            /**
             * category : 751
             * num : 2
             * price : 92
             * tax : 13
             * oid : 0
             * name : TCL TFS16D 电风扇/空气循环/落地扇/家用静音风扇/五叶大风量风扇定时机械
             * taxPrice : 10.58
             * skuId : 6649212
             * nakedPrice : 81.42
             * type : 0
             */

            private int category;
            private int num;
            private double price;
            private double tax;
            private int oid;
            private String name;
            private double taxPrice;
            private long skuId;
            private double nakedPrice;
            private int type;

            public int getCategory() {
                return category;
            }

            public void setCategory(int category) {
                this.category = category;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getTax() {
                return tax;
            }

            public void setTax(double tax) {
                this.tax = tax;
            }

            public int getOid() {
                return oid;
            }

            public void setOid(int oid) {
                this.oid = oid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getTaxPrice() {
                return taxPrice;
            }

            public void setTaxPrice(double taxPrice) {
                this.taxPrice = taxPrice;
            }

            public long getSkuId() {
                return skuId;
            }

            public void setSkuId(long skuId) {
                this.skuId = skuId;
            }

            public double getNakedPrice() {
                return nakedPrice;
            }

            public void setNakedPrice(double nakedPrice) {
                this.nakedPrice = nakedPrice;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }

    public static class COrderBean {
        /**
         * pOrder : 96381719652
         * orderState : 1
         * jdOrderId : 96122756734
         * state : 1
         * freight : 0
         * submitState : 1
         * orderPrice : 96
         * orderNakedPrice : 84.96
         * type : 2
         * sku : [{"category":689,"num":2,"price":48,"tax":13,"oid":0,"name":"戴尔（DELL）KB216 有线商务办公键盘（黑色）京东自营","taxPrice":5.52,"skuId":3447926,"nakedPrice":42.48,"type":0}]
         * orderTaxPrice : 11.04
         */

        private long pOrder;
        private int orderState;
        private long jdOrderId;
        private int state;
        private double freight;
        private int submitState;
        private double orderPrice;
        private double orderNakedPrice;
        private int type;
        private double orderTaxPrice;
        private List<SkuBeanX> sku;

        public long getPOrder() {
            return pOrder;
        }

        public void setPOrder(long pOrder) {
            this.pOrder = pOrder;
        }

        public int getOrderState() {
            return orderState;
        }

        public void setOrderState(int orderState) {
            this.orderState = orderState;
        }

        public long getJdOrderId() {
            return jdOrderId;
        }

        public void setJdOrderId(long jdOrderId) {
            this.jdOrderId = jdOrderId;
        }

        public int getState() {
            return state;
        }

        public void setState(int state) {
            this.state = state;
        }

        public double getFreight() {
            return freight;
        }

        public void setFreight(double freight) {
            this.freight = freight;
        }

        public int getSubmitState() {
            return submitState;
        }

        public void setSubmitState(int submitState) {
            this.submitState = submitState;
        }

        public double getOrderPrice() {
            return orderPrice;
        }

        public void setOrderPrice(double orderPrice) {
            this.orderPrice = orderPrice;
        }

        public double getOrderNakedPrice() {
            return orderNakedPrice;
        }

        public void setOrderNakedPrice(double orderNakedPrice) {
            this.orderNakedPrice = orderNakedPrice;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public double getOrderTaxPrice() {
            return orderTaxPrice;
        }

        public void setOrderTaxPrice(double orderTaxPrice) {
            this.orderTaxPrice = orderTaxPrice;
        }

        public List<SkuBeanX> getSku() {
            return sku;
        }

        public void setSku(List<SkuBeanX> sku) {
            this.sku = sku;
        }

        public static class SkuBeanX {
            /**
             * category : 689
             * num : 2
             * price : 48
             * tax : 13
             * oid : 0
             * name : 戴尔（DELL）KB216 有线商务办公键盘（黑色）京东自营
             * taxPrice : 5.52
             * skuId : 3447926
             * nakedPrice : 42.48
             * type : 0
             */

            private int category;
            private int num;
            private double price;
            private double tax;
            private int oid;
            private String name;
            private double taxPrice;
            private long skuId;
            private double nakedPrice;
            private int type;

            public int getCategory() {
                return category;
            }

            public void setCategory(int category) {
                this.category = category;
            }

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public double getPrice() {
                return price;
            }

            public void setPrice(double price) {
                this.price = price;
            }

            public double getTax() {
                return tax;
            }

            public void setTax(double tax) {
                this.tax = tax;
            }

            public int getOid() {
                return oid;
            }

            public void setOid(int oid) {
                this.oid = oid;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public double getTaxPrice() {
                return taxPrice;
            }

            public void setTaxPrice(double taxPrice) {
                this.taxPrice = taxPrice;
            }

            public long getSkuId() {
                return skuId;
            }

            public void setSkuId(long skuId) {
                this.skuId = skuId;
            }

            public double getNakedPrice() {
                return nakedPrice;
            }

            public void setNakedPrice(double nakedPrice) {
                this.nakedPrice = nakedPrice;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
